package com.xian.loop;

public class ForForDemo {
    public static void main(String[] args) {
        //目标：嵌套循环

        for (int i = 0; i < 5; i++) {
            for (int j = 0; j < 3; j++) {
                System.out.println("111");
            }
            System.out.println("第" + i + "天");

        }

        System.out.println("----------------------------");
        for (int i = 0; i < 4; i++) {
            for (int j = 0; j < 5; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
